CanGetCookiesCallback

The callback is invoked to check if the engine can access the given cookie or not.

Use the can method to allow access to the cookie

Use the cannot} method to deny access to the cookie.

If the callback throws an exception, the can method will be invoked.

Types

Link copied to clipboard
interface Params
The parameters of the CanGetCookiesCallback.
Link copied to clipboard
interface Response
A response for CanGetCookiesCallback.

Functions

Link copied to clipboard
abstract fun on(params: P): R
Invoked when the callback needs a response of type R that may be determined based on the provided callback parameters.